<%@include file="/common/taglibs.jsp" %>
<c:set var="securityAccount" value="${sessionScope.SECURITY_ACCOUNT}" scope="request"/>
<c:set var="securityUser" value="${sessionScope.SECURITY_USER}" scope="request"/>
<c:if test="${!empty securityAccount}">
    <c:set var="accountId" value="${securityAccount.accountId}" scope="request"/>
    <c:set var="accountName" value="${securityAccount.accountName}" scope="request"/>
    <c:set var="accountPassword" value="${securityAccount.accountPassword}" scope="request"/>
    <c:set var="accountRemark" value="${securityAccount.accountRemark}" scope="request"/>
    <c:set var="applicationName" value="${securityAccount.application.applicationName}" scope="request"/>
</c:if>
<c:if test="${!empty securityUser}">
    <c:set var="userId" value="${securityUser.userId}" scope="request"/>
    <c:set var="userName" value="${securityUser.userName}" scope="request"/>
    <c:set var="userMobile" value="${securityUser.userMobile}" scope="request"/>
    <c:set var="userHeadImgUrl" value="${securityUser.userHeadImgUrl}" scope="request"/>
    <c:set var="orgId" value="${securityUser.orgId}" scope="request"/>
    <c:set var="userWxOpenId" value="${securityUser.userWxOpenId}" scope="request"/>
</c:if>
<SCRIPT LANGUAGE="JavaScript">
    <c:if test="${empty userId}">
    parent.parent.location = "${ctx}/common/logout.jsp";
    </c:if>
</SCRIPT>